package com.ych.modules.base.dbEntity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * Created with IntelliJ IDEA.
 * Author: Usopp.tsui
 * Date: 2021/3/20
 * Time: 16:03
 * Description:
 */
@Data
@TableName("t_user_card")
@ApiModel(value = "TUserCardEntity", description = "数据库-用户卡信息表")
public class TUserCardEntity extends AbstractPageEntity {
    @TableId("user_card_id")
    @ApiModelProperty(value = "卡信息主键", dataType = "String", notes = "卡信息主键")
    private String userCardId;

    @TableField("user_id")
    @ApiModelProperty(value = "提现用户id", dataType = "String", notes = "提现用户id")
    private String userId;

    @TableField("card_type")
    @ApiModelProperty(value = "卡类型码值", dataType = "String", notes = "卡类型码值")
    private String cardType;

    @TableField("cert_name")
    @ApiModelProperty(value = "用户真实姓名", dataType = "String", notes = "用户真实姓名")
    private String certName;

    @TableField("cert_id")
    @ApiModelProperty(value = "用户真实身份证号", dataType = "String", notes = "用户真实身份证号")
    private String certId;

    @TableField("bank_name")
    @ApiModelProperty(value = "银行卡名称 卡类型为银行卡必填", dataType = "String", notes = "银行卡名称 卡类型为银行卡必填")
    private String bankName;

    @TableField("bankcard_num")
    @ApiModelProperty(value = "银行卡号 卡类型为银行卡必填", dataType = "String", notes = "银行卡号 卡类型为银行卡必填")
    private String bankcardNum;

    @TableField("alipay_account")
    @ApiModelProperty(value = "支付宝账号信息 卡类型为支付宝必填", dataType = "String", notes = "支付宝账号信息 卡类型为支付宝必填")
    private String alipayAccount;

    @TableField("wx_account")
    @ApiModelProperty(value = "微信账号 卡类型为微信必填", dataType = "String", notes = "微信账号 卡类型为微信必填")
    private String wxAccount;

    @TableField("create_time")
    @ApiModelProperty(value = "创建时间", dataType = "String", notes = "创建时间")
    private Date createTime;

    @TableField("card_img")
    @ApiModelProperty(value = "收款信息的图片，例如：微信收款二维码，支付宝收款二维码等等", dataType = "String", notes = "收款信息的图片，例如：微信收款二维码，支付宝收款二维码等等")
    private String cardImg;
}
